<?php

use Illuminate\Database\Seeder;

class CategoriesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$categories = [
    		[
    			'name' => '卫生环境',
				'scope' => 'task'
			],[
    			'name' => '服务态度',
				'scope' => 'task'
			],[
    			'name' => '客户评价',
				'scope' => 'task'
			],[
    			'name' => '市区',
				'scope' => 'shop'
			],[
    			'name' => '郊区',
				'scope' => 'shop'
			],[
    			'name' => '交通枢纽',
				'scope' => 'shop'
			]
		];

    	DB::table('categories')->insert($categories);
    }
}
